package com.boilermaker.lotterysystem.service.dto;

import com.boilermaker.lotterysystem.service.enums.ActivityStatusEnum;
import lombok.Data;

@Data
public class ActivityDTO {

    private Long activityId;

    private String activityName;

    private String description;

    private ActivityStatusEnum status;

    public Boolean valid() {
        return status.equals(ActivityStatusEnum.RUNNING);
    }
}
